circular doubly linked list algorithm for Backward traversing